﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TLV.RestrictionsValidation
{
    class ValuesDictionary
    {
        public static string GetString(string fieldName)
        {
            //returns name's value if it's a string, or throw and exception otherwise
            if(fieldName == "c")
                return "bye";
            return "";
        }

        public static double GetNumber(string fieldName)
        {
            //returns name's value if it's a number, or throw and exception otherwise
            if (fieldName == "a")
                return 1;
            if (fieldName == "b")
                return 1;
            return 0;
        }
    }
}
